from pydantic_settings import BaseSettings

class Settings(BaseSettings):
    # 数据库配置
    DATABASE_URL: str = "mysql://root:Gg1208361409@localhost/aiteach_db"
    
    # JWT 配置
    SECRET_KEY: str = "your-secret-key"
    ALGORITHM: str = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES: int = 30
    
    # PPT API 配置
    PPT_API_KEY: str = "ak_uMCf1UTFETrrvWwDy2"
    
    class Config:
        env_file = ".env"

settings = Settings()
